[INFO] cloning repository https://github.com/LeeJiaLe/rust-jrdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeeJiaLe/rust-jrdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 111fd4ee46df5aa52aa163998bd9a4d728393690
[INFO] testing LeeJiaLe/rust-jrdb against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeeJiaLe%2Frust-jrdb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LeeJiaLe/rust-jrdb
[INFO] finished tweaking git repo https://github.com/LeeJiaLe/rust-jrdb
[INFO] tweaked toml for git repo https://github.com/LeeJiaLe/rust-jrdb written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LeeJiaLe/rust-jrdb on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LeeJiaLe/rust-jrdb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ca334f102da1332cb74c4d286c57a885a9b0176b990e95a817c5de6e5ccdcf0
[INFO] running `Command { std: "docker" "start" "-a" "5ca334f102da1332cb74c4d286c57a885a9b0176b990e95a817c5de6e5ccdcf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ca334f102da1332cb74c4d286c57a885a9b0176b990e95a817c5de6e5ccdcf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ca334f102da1332cb74c4d286c57a885a9b0176b990e95a817c5de6e5ccdcf0", kill_on_drop: false }`
[INFO] [stdout] 5ca334f102da1332cb74c4d286c57a885a9b0176b990e95a817c5de6e5ccdcf0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 878569753c8eaa8171a74bd5efed3d224213dbc2e7f4168727baa388381da0ba
[INFO] running `Command { std: "docker" "start" "-a" "878569753c8eaa8171a74bd5efed3d224213dbc2e7f4168727baa388381da0ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling jrdb v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stdout]   --> src/jrdb/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.08s
[INFO] running `Command { std: "docker" "inspect" "878569753c8eaa8171a74bd5efed3d224213dbc2e7f4168727baa388381da0ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "878569753c8eaa8171a74bd5efed3d224213dbc2e7f4168727baa388381da0ba", kill_on_drop: false }`
[INFO] [stdout] 878569753c8eaa8171a74bd5efed3d224213dbc2e7f4168727baa388381da0ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb99932468baab607e9cbefc49d2ae729faf8628b6bab227f950ad5466dcfb18
[INFO] running `Command { std: "docker" "start" "-a" "eb99932468baab607e9cbefc49d2ae729faf8628b6bab227f950ad5466dcfb18", kill_on_drop: false }`
[INFO] [stdout] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stdout]   --> src/jrdb/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling jrdb v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stdout]   --> src/jrdb/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "eb99932468baab607e9cbefc49d2ae729faf8628b6bab227f950ad5466dcfb18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb99932468baab607e9cbefc49d2ae729faf8628b6bab227f950ad5466dcfb18", kill_on_drop: false }`
[INFO] [stdout] eb99932468baab607e9cbefc49d2ae729faf8628b6bab227f950ad5466dcfb18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6fda737708a514342145446682999b4d3738087be1bd9eb224f07875d529ff2e
[INFO] running `Command { std: "docker" "start" "-a" "6fda737708a514342145446682999b4d3738087be1bd9eb224f07875d529ff2e", kill_on_drop: false }`
[INFO] [stderr] warning: trait `GenericDatabaseFeature` is never used
[INFO] [stderr]   --> src/jrdb/lib.rs:59:7
[INFO] [stderr]    |
[INFO] [stderr] 59 | trait GenericDatabaseFeature<T>{
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `jrdb` (lib) generated 1 warning
[INFO] [stderr] warning: `jrdb` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/jrdb/lib.rs (/opt/rustwide/target/debug/deps/jrdb-d8abce04cdd942ef)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests example/exp-1.rs (/opt/rustwide/target/debug/deps/example-94bb93bac4086493)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests jrdb
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/jrdb/lib.rs - Database::condition (line 309) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::delete (line 268) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::select (line 187) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::insert (line 156) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::execute (line 116) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::update (line 223) ... FAILED
[INFO] [stdout] test src/jrdb/lib.rs - Database::from (line 69) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::condition (line 309) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/jrdb/lib.rs:316:7
[INFO] [stdout]     |
[INFO] [stdout] 316 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 325 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 329 |     db.select("users")
[INFO] [stdout]     |     -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 338 |     db.select("users")
[INFO] [stdout]     |     -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 316 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::delete (line 268) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/jrdb/lib.rs:274:7
[INFO] [stdout]     |
[INFO] [stdout] 274 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 283 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 286 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 290 |   db.delete("users").execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] 291 |  
[INFO] [stdout] 292 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 274 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::select (line 187) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/jrdb/lib.rs:193:7
[INFO] [stdout]     |
[INFO] [stdout] 193 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 202 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 205 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 193 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::insert (line 156) stdout ----
[INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope
[INFO] [stdout]    --> src/jrdb/lib.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 |   doc.add_value("name", String::from("Joel"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 156 + use crate::jrdb::jrdb_type::AddGetValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope
[INFO] [stdout]    --> src/jrdb/lib.rs:167:7
[INFO] [stdout]     |
[INFO] [stdout] 167 |   doc.add_value("pass", String::from("ILoveErd"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 156 + use crate::jrdb::jrdb_type::AddGetValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope
[INFO] [stdout]    --> src/jrdb/lib.rs:168:7
[INFO] [stdout]     |
[INFO] [stdout] 168 |   doc.add_value("age", 30);
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 156 + use crate::jrdb::jrdb_type::AddGetValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::execute (line 116) stdout ----
[INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope
[INFO] [stdout]    --> src/jrdb/lib.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |   doc.add_value("name", String::from("Joel"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 116 + use crate::jrdb::jrdb_type::AddGetValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope
[INFO] [stdout]    --> src/jrdb/lib.rs:127:7
[INFO] [stdout]     |
[INFO] [stdout] 127 |   doc.add_value("pass", String::from("ILoveErd"));
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 116 + use crate::jrdb::jrdb_type::AddGetValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add_value` found for struct `jrdb::jrdb_type::JrDocument` in the current scope
[INFO] [stdout]    --> src/jrdb/lib.rs:128:7
[INFO] [stdout]     |
[INFO] [stdout] 128 |   doc.add_value("age", 30);
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/jrdb/jrdb_type.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn add_value(&mut self, key:&str, item: T);
[INFO] [stdout]     |      --------- the method is available for `jrdb::jrdb_type::JrDocument` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get_value` with a similar name, but with different arguments
[INFO] [stdout]    --> src/jrdb/jrdb_type.rs:180:3
[INFO] [stdout]     |
[INFO] [stdout] 180 |   fn get_value(&self, key:&str)->Result<T, &str>;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `AddGetValue` which provides `add_value` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 116 + use crate::jrdb::jrdb_type::AddGetValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::update (line 223) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `db` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/jrdb/lib.rs:229:7
[INFO] [stdout]     |
[INFO] [stdout] 229 |   let db:Database = Database::from("main");
[INFO] [stdout]     |       ^^ not mutable
[INFO] [stdout] ...
[INFO] [stdout] 238 |   db.insert("users", doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 241 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout] ...
[INFO] [stdout] 249 |   db.update("users", updated_doc).execute();
[INFO] [stdout]     |   -- cannot borrow as mutable
[INFO] [stdout] 250 |  
[INFO] [stdout] 251 |   let collection: JrCollection = db.select("users").execute();
[INFO] [stdout]     |                                  -- cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 229 |   let mut db:Database = Database::from("main");
[INFO] [stdout]     |       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/jrdb/lib.rs - Database::from (line 69) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (79) panicked at src/jrdb/lib.rs:98:46:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58821944e638 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58821944e638 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58821944e638 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x58821944e638 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x58821945f08a - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58821945f08a - core[28b146924c2f19c6]::fmt::write
[INFO] [stdout]    6:     0x588219451e02 - std[929523f510218772]::io::default_write_fmt::<std[929523f510218772]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x588219451e02 - <std[929523f510218772]::sys::stdio::unix::Stderr as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x58821943a3d6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x58821943a3d6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58821944ac11 - std[929523f510218772]::panicking::default_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x58821944adcb - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x58821943a492 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x58821942fa79 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x58821943ac7d - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x58821945f79c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x58821945f512 - core[28b146924c2f19c6]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/result.rs:1872:5
[INFO] [stdout]   17:     0x588219420297 - <core[28b146924c2f19c6]::result::Result<std[929523f510218772]::fs::File, std[929523f510218772]::io::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/result.rs:1233:23
[INFO] [stdout]   18:     0x588219420297 - <jrdb[bdd36897df9c4f1]::Database>::from
[INFO] [stdout]                                at /opt/rustwide/workdir/src/jrdb/lib.rs:98:46
[INFO] [stdout]   19:     0x58821941f9cb - rust_out[55b2f4d6dc07c20e]::main
[INFO] [stdout]   20:     0x58821941f9f3 - <fn() as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x58821941f976 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x58821941f989 - std[929523f510218772]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x58821944a3b7 - <&dyn core[28b146924c2f19c6]::ops::function::Fn<(), Output = i32> + core[28b146924c2f19c6]::panic::unwind_safe::RefUnwindSafe + core[28b146924c2f19c6]::marker::Sync as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x58821944a3b7 - std[929523f510218772]::panicking::catch_unwind::do_call::<&dyn core[28b146924c2f19c6]::ops::function::Fn<(), Output = i32> + core[28b146924c2f19c6]::panic::unwind_safe::RefUnwindSafe + core[28b146924c2f19c6]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x58821944a3b7 - std[929523f510218772]::panicking::catch_unwind::<i32, &dyn core[28b146924c2f19c6]::ops::function::Fn<(), Output = i32> + core[28b146924c2f19c6]::panic::unwind_safe::RefUnwindSafe + core[28b146924c2f19c6]::marker::Sync>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x58821944a3b7 - std[929523f510218772]::panic::catch_unwind::<&dyn core[28b146924c2f19c6]::ops::function::Fn<(), Output = i32> + core[28b146924c2f19c6]::panic::unwind_safe::RefUnwindSafe + core[28b146924c2f19c6]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x58821944a3b7 - std[929523f510218772]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x58821944a3b7 - std[929523f510218772]::panicking::catch_unwind::do_call::<std[929523f510218772]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x58821944a3b7 - std[929523f510218772]::panicking::catch_unwind::<isize, std[929523f510218772]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x58821944a3b7 - std[929523f510218772]::panic::catch_unwind::<std[929523f510218772]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x58821944a3b7 - std[929523f510218772]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x58821941f961 - std[929523f510218772]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x58821941fa55 - main
[INFO] [stdout]   34:     0x75ea40e9f1ca - <unknown>
[INFO] [stdout]   35:     0x75ea40e9f28b - __libc_start_main
[INFO] [stdout]   36:     0x58821941f7a5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/jrdb/lib.rs - Database::condition (line 309)
[INFO] [stdout]     src/jrdb/lib.rs - Database::delete (line 268)
[INFO] [stdout]     src/jrdb/lib.rs - Database::execute (line 116)
[INFO] [stdout]     src/jrdb/lib.rs - Database::from (line 69)
[INFO] [stdout]     src/jrdb/lib.rs - Database::insert (line 156)
[INFO] [stdout]     src/jrdb/lib.rs - Database::select (line 187)
[INFO] [stdout]     src/jrdb/lib.rs - Database::update (line 223)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6fda737708a514342145446682999b4d3738087be1bd9eb224f07875d529ff2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fda737708a514342145446682999b4d3738087be1bd9eb224f07875d529ff2e", kill_on_drop: false }`
[INFO] [stdout] 6fda737708a514342145446682999b4d3738087be1bd9eb224f07875d529ff2e
